package pojo;

public class EssayAndUserAndComment {

	
    private Integer commentId;

    private Integer essayId;

    private Integer userId;

    private String comment;

    private String commentDate;
    
    private User user;
    

	public Integer getCommentId() {
		return commentId;
	}

	public void setCommentId(Integer commentId) {
		this.commentId = commentId;
	}

	public Integer getEssayId() {
		return essayId;
	}

	public void setEssayId(Integer essayId) {
		this.essayId = essayId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getCommentDate() {
		return commentDate;
	}

	public void setCommentDate(String commentDate) {
		this.commentDate = commentDate;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	


	@Override
	public String toString() {
		return "EssayAndUserAndComment [commentId=" + commentId + ", essayId=" + essayId + ", userId=" + userId
				+ ", comment=" + comment + ", commentDate=" + commentDate + ", user=" + user + "]";
	}


	
}
